package com.port.eleport.model.biz;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import com.port.eleport.model.base.IdEntity;

/**
 *  退换货反馈
 * @author jameschen
 *
 */
@Entity
@Table(name = "biz_sr_feedback", schema = "")
@DynamicInsert(true)
@DynamicUpdate(true)
public class TSrFeedback extends IdEntity {
	/**
	 * 申报号
	 */
	@Column(name="rejected_no")
	private String rejectedNo;
	
	/**
	 * 申报时间
	 */
	@Column(name="decl_time")
	private Date declTime;
	
	/**
	 * 状态（00-未申报 10-已申报 20-审核通过 30-审核未通过 40-已验收  50-验收未通过）
	 */
	@Column(name="status_")
	private String status;
	
	/**
	 * 状态描述
	 */
	@Column(name="status_desc")
	private String statusDesc;
	
	/**
	 * 退换货
	 */
	@ManyToOne
	@JoinColumn(name="sr_id")
	private TSr sr;

	public String getRejectedNo() {
		return rejectedNo;
	}

	public void setRejectedNo(String rejectedNo) {
		this.rejectedNo = rejectedNo;
	}

	public Date getDeclTime() {
		return declTime;
	}

	public void setDeclTime(Date declTime) {
		this.declTime = declTime;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getStatusDesc() {
		return statusDesc;
	}

	public void setStatusDesc(String statusDesc) {
		this.statusDesc = statusDesc;
	}

	public TSr getSr() {
		return sr;
	}

	public void setSr(TSr sr) {
		this.sr = sr;
	}
}
